//
//  HZJTuiShowCVCell.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/4/3.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "HZJTuiShowCVCell.h"
#import "UIImageView+WebCache.h"
@implementation HZJTuiShowCVCell


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.picUrlImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
        
        self.playButton = [UIButton buttonWithType:UIButtonTypeSystem];
//        [self.playButton setImage:[[UIImage imageNamed:@"Jbofang"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];

        [self.contentView addSubview:self.picUrlImageView];
//        [self.contentView addSubview:self.playButton];
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    self.picUrlImageView.frame = self.bounds;
//    self.playButton.frame = CGRectMake(self.bounds.size.width / 2 - 15, self.bounds.size.height / 2 - 15, 30, 30);
    
}
- (void)setTuiJianModel:(HZJTuijianModel *)tuiJianModel {
  
    _tuiJianModel = tuiJianModel;
    [self.picUrlImageView sd_setImageWithURL:[NSURL URLWithString:tuiJianModel.picUrl] placeholderImage:[UIImage imageNamed:@"11"]];
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
